package com.youka.bussiness.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youka.bussiness.dao.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 订单信息表 Mapper
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    /**
     * 自定义分页查询
     *
     * @param page   分页参数
     * @param params 查询参数
     * @return List
     */
    List<Orders> page(IPage page, @Param("params") Map<String, Object> params);

}
